import http from "./request"
// 登录接口
function getlogin(params){
    return http.post("/sys/login",params)
}
//侧边导航接口
function getprofile(){
    return http.post("/sys/profile")
}

export function getUserDetailById(id) {
    return http.get(
    `/sys/user/${id}`
    )
  }
//请求导入导出列表接口
function getuser(params){
    return http.get("/sys/user",{params})
}
export {getlogin,getprofile,getuser}